<div class="header">
    <div class="top-preview">
        <a href="{ROOT_URL}" target="_blank" title="预览"><i class="iconfont icon-quanping pt"></i></a>
    </div>
    <div class="top-logo"></div>
    <ul class="top-app">
        <li><a class="nav focus" href="{url('default/index')}" target="_top"><i class="iconfont icon-shouye"></i> 首页</a></li> 
    {loop $nav $rs}
    <li><a class="nav" href="javascript:void(0);" uid="{url('default/menu',array('id'=>$rs['id']))}">{htmlspecialchars_decode($rs['icon'])} {htmlspecialchars_decode($rs['name'])}</a></li> 
    {/loop}
</ul>
    <div class="top-menu">
        <li><a class="focus" href="javascript:void(0);" rel="targetBox" id="UserList"><i class="iconfont icon-haoyou"></i> {$groupInfo['name']} <i class="iconfont icon-xiangxia2"></i></a></li>
    </div>
</div> 
<div id="menu">
    <div class="off" style="cursor:pointer;"><i class="iconfont icon-shouye"></i> 首页</div>
    <ul>
    <li><a href="{url('default/welcome')}" target="iframe"><i class="iconfont icon-xiangyou3"></i>欢迎页</a></li>
    </ul>
</div> 
<div id="main">
    <iframe id="iframe" name="iframe" src="{url('default/welcome')}" frameborder="0"></iframe>
</div>
<div id="targetBox" class="fn-hide targetBox">
<ul class="fn-f14 lh25">
    <li><a href="{url('user/password')}" target="iframe"><i class="iconfont icon-xiangyou3"></i>修改密码</a></li>
    <li><a href="{url('default/logout')}" target="_top"><i class="iconfont icon-xiangyou3"></i>注销登陆</a></li>
</ul>
</div>
<script type="text/javascript"> 
Do('base','dialog','tip',function(){ 
    $(".nav").click(function() {
        var targetUrl = $(this).attr("uid");
        $("#menu").load(targetUrl);
        $(".nav").removeClass("focus");
        $(this).addClass("focus");
    });
    $("#UserList").powerFloat();
});
</script>
